home *** CD-ROM | disk | FTP | other *** search
/ Nautilus 1992 July / Nautilus-3-8 / Nautilus-3-8.bin / Tools & Utilities / Techy Stuff / Doco ƒ / CSMP ƒ / CSMP-V1-063.TXT < prev    next >
Encoding:
Text File  |  1992-06-03  |  41.8 KB  |  1,152 lines

  1. C.S.M.P. Digest             Thu, 30 Apr 92       Volume 1 : Issue 63
  2.  
  3. Today's Topics:
  4.  
  5.     print architecture (was Re: Patching a trap for print jobs...)
  6.     How to Drop & Launch??
  7.     Finder Selection anyone?
  8.     ML for Mac
  9.     Lost ETO
  10.     GnuPlot on the mac --  UPDATE
  11.     WDEFs in System File:Do They Do Anything???
  12.  
  13.  
  14. The Comp.Sys.Mac.Programmer Digest is moderated by Michael A. Kelly.
  15.  
  16. These digests are available (by using FTP, account anonymous, your email
  17. address as password) in the pub/mac/csmp-digest directory on ftp.cs.uoregon.
  18. edu.  This is also the home of the comp.sys.mac.programmer Frequently Asked
  19. Questions list.  The last several issues of the digest are available from
  20. sumex-aim.stanford.edu as well.
  21.  
  22. These digests are also available via email.  Just send a note saying that you
  23. want to be on the digest mailing list to mkelly@cs.uoregon.edu, and you will
  24. automatically receive each new digest as it is created.
  25.  
  26. The articles in these digests are taken directly from comp.sys.mac.programmer.
  27. They are not edited; all articles included in this digest are in their original
  28. posted form.  The only articles that are -not- included in these digests are
  29. those which didn't receive any replies (except those that give information
  30. rather than ask a question).  All replies to each article are concatenated
  31. onto the original article in the order in which they were received.  Article
  32. threads are not added to the digests until the last article added to the
  33. thread is at least one month old (this is to ensure that the thread is dead
  34. before adding it to the digests).
  35.  
  36. Send administrative mail to mkelly@cs.uoregon.edu.
  37.  
  38. -------------------------------------------------------
  39.  
  40. From: jcav@quads.uchicago.edu (JohnC)
  41. Subject: print architecture (was Re: Patching a trap for print jobs...)
  42. Date: 11 Mar 92 16:33:37 GMT
  43. Organization: The Royal Society for Putting Things on Top of Other Things
  44.  
  45. In article <21300@goofy.Apple.COM> casseres@apple.com (David Casseres) writes:
  46. >The original idea behind the separation of low-level and high-level printing
  47. >interfaces was that on a 128K Mac there might not be enough space to load up
  48. >the PDEF of the high-level interface.  In that desperate case the app could
  49. >still print using the low-level DRVR interface, since it was very small.  I
  50. >don't know of any major app that actually took advantage of this, though.
  51.  
  52. This is something that has bugged me for a long time.  Why why why wasn't
  53. the printing glue implemented as a _package_?  Doing so would have still
  54. allowed the code to be unloaded in low-memory situations, but there would
  55. have been a TRAP all along, instead of the insanity of a static library!
  56.  
  57.  
  58. - -- 
  59. John Cavallino                  |  EMail: jcav@midway.uchicago.edu
  60. University of Chicago Hospitals |         John_Cavallino@uchfm.bsd.uchicago.edu
  61. Office of Facilities Management | USMail: 5841 S. Maryland Ave, MC 0953
  62. B0 f++ c+ g+ k s+(+) e+ h- pv   |         Chicago, IL  60637
  63.  
  64. +++++++++++++++++++++++++++
  65.  
  66. From: casseres@apple.com (David Casseres)
  67. Date: 20 Mar 92 18:36:54 GMT
  68. Organization: Apple Computer Inc.
  69.  
  70. In article <1992Mar11.163337.2941@midway.uchicago.edu>, jcav@quads.uchicago.edu
  71. (JohnC) writes:
  72. > In article <21300@goofy.Apple.COM> casseres@apple.com (David Casseres) writes:
  73.  
  74. > This is something that has bugged me for a long time.  Why why why wasn't
  75. > the printing glue implemented as a _package_?  Doing so would have still
  76. > allowed the code to be unloaded in low-memory situations, but there would
  77. > have been a TRAP all along, instead of the insanity of a static library!
  78.  
  79. Well, I will give a carefully restricted answer and see if anyone argues:  there
  80. was no good reason, and a number of bad ones.
  81.  
  82. - --
  83.  
  84. David Casseres
  85. Exclaimer: Wow!
  86.  
  87. +++++++++++++++++++++++++++
  88.  
  89. From: jcav@quads.uchicago.edu (JohnC)
  90. Date: 20 Mar 92 19:36:44 GMT
  91. Organization: The Royal Society for Putting Things on Top of Other Things
  92.  
  93. In article <21712@goofy.Apple.COM> casseres@apple.com (David Casseres) writes:
  94. >In article <1992Mar11.163337.2941@midway.uchicago.edu>, jcav@quads.uchicago.edu
  95. >(JohnC) writes:
  96. >> This is something that has bugged me for a long time.  Why why why wasn't
  97. >> the printing glue implemented as a _package_?  Doing so would have still
  98. >> allowed the code to be unloaded in low-memory situations, but there would
  99. >> have been a TRAP all along, instead of the insanity of a static library!
  100. >
  101. >Well, I will give a carefully restricted answer and see if anyone argues:
  102. >there was no good reason, and a number of bad ones.
  103.  
  104. Would you mind enumerating said bad reasons?  I'm truly interested, since
  105. I'm sure the architects of the Printing Manager were not stupid people.
  106.  
  107. - -- 
  108. John Cavallino                  |  EMail: jcav@midway.uchicago.edu
  109. University of Chicago Hospitals |         John_Cavallino@uchfm.bsd.uchicago.edu
  110. Office of Facilities Management | USMail: 5841 S. Maryland Ave, MC 0953
  111. B0 f++ c+ g+ k s++ e+ h- pv     |         Chicago, IL  60637
  112.  
  113. +++++++++++++++++++++++++++
  114.  
  115. From: casseres@apple.com (David Casseres)
  116. Date: 29 Mar 92 22:04:43 GMT
  117. Organization: Apple Computer, Inc.
  118.  
  119. In article <1992Mar20.193644.27615@midway.uchicago.edu>, jcav@quads.uchicago.edu
  120. (JohnC) writes:
  121.  
  122. [I wrote]
  123. > >Well, I will give a carefully restricted answer and see if anyone argues:
  124. > >there was no good reason, and a number of bad ones. [for not implementing
  125. the Printing Manager via a trap]
  126.  
  127. > Would you mind enumerating said bad reasons?  I'm truly interested, since
  128. > I'm sure the architects of the Printing Manager were not stupid people.
  129.  
  130. They weren't.  But it was not they who decided not to allocate a trap for
  131. printing.
  132.  
  133. - --
  134. David Casseres
  135. Exclaimer: Wow!
  136.  
  137. ---------------------------
  138.  
  139. Subject: How to Drop & Launch??
  140. From: strutiak@abekas.uucp (Steve Trutiak)
  141. Date: Thu, 12 Mar 1992 22:16:38 GMT
  142. Organization: Abekas Video Systems Inc., Redwood City, California.
  143.  
  144. Can anyone explain how to make system 7 applications launch when you drop
  145. file icons onto their icons?
  146.  
  147. Thank You
  148.  
  149. Stephen Trutiak
  150.  
  151.  
  152. +++++++++++++++++++++++++++
  153.  
  154. From: jpugh@apple.com (Jon Pugh)
  155. Date: 27 Mar 92 22:18:58 GMT
  156. Organization: Apple Co.
  157.  
  158. In article <1992Mar12.221638.1760@abekas.uucp>, strutiak@abekas.uucp (Steve Trutiak) writes:
  159. > Can anyone explain how to make system 7 applications launch when you drop
  160. > file icons onto their icons?
  161.  
  162. It just happens.  ;)
  163.  
  164. Actually, your application must contain a FREF for the file type you want
  165. to be dropped on your app.  You need a FREF for each file type or one
  166. of type **** to drop anything.  You also need to rebuild the desktop after 
  167. changing or adding a FREF.
  168.  
  169. If it still doesn't work your app isn't checking for files.  See the Segment
  170. Loader (pre-7) or Apple Events (post-7) chapters for more info.
  171.  
  172. Jon
  173.  
  174. +++++++++++++++++++++++++++
  175.  
  176. From: jpugh@apple.com (Jon Pugh)
  177. Date: 27 Mar 92 22:18:58 GMT
  178. Organization: Apple Co.
  179.  
  180. In article <1992Mar12.221638.1760@abekas.uucp>, strutiak@abekas.uucp (Steve Trutiak) writes:
  181. > Can anyone explain how to make system 7 applications launch when you drop
  182. > file icons onto their icons?
  183.  
  184. It just happens.  ;)
  185.  
  186. Actually, your application must contain a FREF for the file type you want
  187. to be dropped on your app.  You need a FREF for each file type or one
  188. of type **** to drop anything.  You also need to rebuild the desktop after 
  189. changing or adding a FREF.
  190.  
  191. If it still doesn't work your app isn't checking for files.  See the Segment
  192. Loader (pre-7) or Apple Events (post-7) chapters for more info.
  193.  
  194. Jon
  195.  
  196. ---------------------------
  197.  
  198. From: dawg6844@uxa.cso.uiuc.edu (Dan Walkowski)
  199. Subject: Finder Selection anyone?
  200. Organization: University of Illinois at Urbana
  201. Date: Sat, 14 Mar 1992 23:56:41 GMT
  202.  
  203. Has _anyone_ managed to figure out how to determine the Finder selection?
  204.  
  205. Millions of frustrated Mac programmers (myself included) would praise you
  206. and probably even erect monuments if you would share the knowledge.
  207.  
  208. Dan Walkowski
  209. - -- 
  210. Dan Walkowski  
  211. Univ. of Illinois
  212. walkowsk@cs.uiuc.edu
  213.  
  214. +++++++++++++++++++++++++++
  215.  
  216. From: caligula!edw (Edwin Howell Watkeys III)
  217. Date: Sun, 15 Mar 92 01:15:52 EST
  218. Organization: Drexel University Guerrilla Networking Project
  219.  
  220.  
  221. In article <1992Mar14.235641.5156@ux1.cso.uiuc.edu> (comp.sys.mac.programmer), dawg6844@uxa.cso.uiuc.edu (Dan Walkowski) writes:
  222. > Has _anyone_ managed to figure out how to determine the Finder selection?
  223. > Millions of frustrated Mac programmers (myself included) would praise you
  224. > and probably even erect monuments if you would share the knowledge.
  225. Even *if* you could figure out a way, I read in the FinderEvents Stack that
  226. it would probably change, and you'd need to change it as soon as the next
  227. Finder came out... However, the FinderEvents Stack may (I forget) tell you
  228. how to do it, and if it does, it says, THIS WON'T WORK DOWN THE ROAD!!!
  229.  
  230. Ed
  231.  
  232. - ---------
  233. Ed Watkeys                         "...if you wish to strive for peace of
  234. phlpa!caligula!edw@cs.widener.edu   soul and pleasure, then believe; if
  235. Drexel University (Comp Sci)        you wish to be a devotee of truth,
  236. Guerrilla Networking Project        then inquire...." -- Nietzsche
  237.  
  238. +++++++++++++++++++++++++++
  239.  
  240. From: dawg6844@uxa.cso.uiuc.edu (Dan Walkowski)
  241. Organization: University of Illinois at Urbana
  242. Date: Sun, 15 Mar 1992 19:08:42 GMT
  243.  
  244. caligula!edw (Edwin Howell Watkeys III) writes:
  245. >Even *if* you could figure out a way, I read in the FinderEvents Stack that
  246. >it would probably change, and you'd need to change it as soon as the next
  247. >Finder came out... However, the FinderEvents Stack may (I forget) tell you
  248. >how to do it, and if it does, it says, THIS WON'T WORK DOWN THE ROAD!!!
  249.  
  250. >Ed
  251.  
  252.  
  253. The Finder Events stack does not tell you how.  I realize that it will change
  254. in future versions.  
  255.  
  256. I still want to know.
  257.  
  258. Dan
  259. - -- 
  260. Dan Walkowski  
  261. Univ. of Illinois
  262. walkowsk@cs.uiuc.edu
  263.  
  264. +++++++++++++++++++++++++++
  265.  
  266. From: zobkiw@world.std.com (Joe Zobkiw)
  267. Organization: The World Public Access UNIX, Brookline, MA
  268. Date: Mon, 16 Mar 1992 18:21:56 GMT
  269.  
  270. Dan -
  271.  
  272. I know of someone who has...a few people actually...but it is a well
  273. kept secret by the few who were able to figure it out :) Why should
  274. they give it away when people are willing to pay for it?
  275.  
  276. <joe>
  277.  
  278.  
  279.  
  280.  
  281.  
  282. - -- 
  283. <--------------------------------------------------->
  284.  joe zobkiw                     zobkiw@world.std.com
  285.  mac.synthesis.MIDI.development.C.asm.communications
  286. >---------------------------------------------------<
  287.  
  288. +++++++++++++++++++++++++++
  289.  
  290. From: dawg6844@uxa.cso.uiuc.edu (Dan Walkowski)
  291. Organization: University of Illinois at Urbana
  292. Date: Mon, 16 Mar 1992 20:30:31 GMT
  293.  
  294. zobkiw@world.std.com (Joe Zobkiw) writes:
  295.  
  296. >Dan -
  297.  
  298. >I know of someone who has...a few people actually...but it is a well
  299. >kept secret by the few who were able to figure it out :) Why should
  300. >they give it away when people are willing to pay for it?
  301.  
  302. ><joe>
  303.  
  304.  
  305. Now what kind of attitude is that?  Is this a forum where we discuss our 
  306. various questions and tricky mac programming solutions, or some kind of 
  307. secret club run by 12-year olds?
  308.  
  309. I'm perfectly happy to share any of the tricks I've learned with whomever
  310. asks.
  311.  
  312. Dan
  313. - -- 
  314. Dan Walkowski  
  315. Univ. of Illinois
  316. walkowsk@cs.uiuc.edu
  317.  
  318. +++++++++++++++++++++++++++
  319.  
  320. From: ross@bnr.ca (Ross Brown)
  321. Organization: Bell-Northern Research
  322. Date: Sun, 15 Mar 92 23:35:30 GMT
  323.  
  324. In article <01050133.ugle7s@caligula.uucp> caligula!edw (Edwin Howell Watkeys
  325. III) writes:
  326. >
  327. >In article <1992Mar14.235641.5156@ux1.cso.uiuc.edu> (comp.sys.mac.programmer),
  328. dawg6844@uxa.cso.uiuc.edu (Dan Walkowski) writes:
  329. >> Has _anyone_ managed to figure out how to determine the Finder selection?
  330. >> 
  331. >> Millions of frustrated Mac programmers (myself included) would praise you
  332. >> and probably even erect monuments if you would share the knowledge.
  333. >> 
  334. >Even *if* you could figure out a way, I read in the FinderEvents Stack that
  335. >it would probably change, and you'd need to change it as soon as the next
  336. >Finder came out... However, the FinderEvents Stack may (I forget) tell you
  337. >how to do it, and if it does, it says, THIS WON'T WORK DOWN THE ROAD!!!
  338. >
  339. >Ed
  340. >
  341. >---------
  342. >Ed Watkeys                         "...if you wish to strive for peace of
  343. >phlpa!caligula!edw@cs.widener.edu   soul and pleasure, then believe; if
  344. >Drexel University (Comp Sci)        you wish to be a devotee of truth,
  345. >Guerrilla Networking Project        then inquire...." -- Nietzsche
  346. >
  347.  
  348. I'll quote it for those who don't have the FinderEvents stack (by Jon Pugh)...
  349.  
  350. A lot of people want the Finder to do some real basic things that it just
  351. doesn't do right now. This explains a few of the limitations that the Finder
  352. operates under.
  353.  
  354. The most notable of these is the desire to get the current Finder selection.
  355. You can't. Yes, I know some people do, but they figured out how and know that
  356. it will break when the Finder gets changed. They have chosen to do that work
  357. and take that risk. You haven't. You want it handed to you. You can't have it
  358. that way. If you really want to know then hop into Macsbug and find out. Save
  359. your notes because you will have to do it again when the Finder changes.
  360. Hopefully this situation will change when the Finder supports all Apple Events.
  361.  
  362. Ross Brown
  363. Bell-Northern Research Ltd.
  364. Ottawa, Ontario, Canada
  365. ross@bnr.ca
  366. Opinions expressed do not necessarily represent those of BNR.
  367.  
  368. +++++++++++++++++++++++++++
  369.  
  370. From: TOGE@SLACVM.SLAC.STANFORD.EDU (Nobukazu Toge)
  371. Date: 17 Mar 92 00:45:43 GMT
  372. Organization: Stanford Linear Accelerator Center
  373.  
  374. Dan -
  375.  
  376. I don't know the answer on how to do that, but I believe that people at
  377. Salient Software know that, because their DiskDoubler INIT does exactly
  378. part of what you would like to achieve.  I believe that the fact they
  379. know this, by itself, is no secret -- they got a published product!
  380.  
  381. Yes, I tried disassembling their software... No, nothing made sense to me.
  382. Yes, probably you can ask... No, I don't believe they would give away
  383. the info.
  384.  
  385. Like the AppleEvent stack says, in principle, you should be able to figure
  386. it out by tracing with MacsBug etc through how the Finder launches an app
  387. etc.  I understand that Finder (Sys 7) has been written with C++, so the
  388. job has to be very, very painful, unless you are extremely clever
  389. (I'm not).
  390.  
  391. Cheers,
  392.  
  393. - - Nobu Toge (Stanford Linear Accelerator Center)
  394. * My employer SLAC, Stanford University or U.S. DoE are not responsible
  395. * for this posting.  My opinion is only mine, unless someone else shares
  396. * it.
  397.  
  398. +++++++++++++++++++++++++++
  399.  
  400. From: dcastell@csg.uwaterloo.ca (David Castell)
  401. Date: 17 Mar 92 17:22:43 GMT
  402. Organization: Computer Systems Group
  403.  
  404. In article <92076.164543TOGE@SLACVM.SLAC.STANFORD.EDU>, Nobukazu Toge <TOGE@SLACVM.SLAC.STANFORD.EDU> writes:
  405. > Dan -
  406. > I don't know the answer on how to do that, but I believe that people at
  407. > Salient Software know that, because their DiskDoubler INIT does exactly
  408. > part of what you would like to achieve.  I believe that the fact they
  409. > know this, by itself, is no secret -- they got a published product!
  410. > Yes, I tried disassembling their software... No, nothing made sense to me.
  411. > Yes, probably you can ask... No, I don't believe they would give away
  412. > the info.
  413. > Like the AppleEvent stack says, in principle, you should be able to figure
  414. > it out by tracing with MacsBug etc through how the Finder launches an app
  415. > etc.  I understand that Finder (Sys 7) has been written with C++, so the
  416. > job has to be very, very painful, unless you are extremely clever
  417. > (I'm not).
  418. > Cheers,
  419. > - Nobu Toge (Stanford Linear Accelerator Center)
  420. > * My employer SLAC, Stanford University or U.S. DoE are not responsible
  421. > * for this posting.  My opinion is only mine, unless someone else shares
  422. > * it.
  423. I traced through the DiskDoubler stuff too, and I could tell you what they
  424. do (if I can find my notes around here somewhere), but it only lets you get
  425. the selection, not set it.  BTW, I have seen someone else mention this method
  426. on this newsgroup, and it really is a BIG hack.  Off the top of my head,
  427. what you do is post a command-i key down event to fake the finder into
  428. getting info on the selection for you.  But before doing this, you have to
  429. patch a bunch of traps.  Patching GetCatInfo will let you intercept file
  430. information.  You also have to patch windowing traps to prevent the 'info'
  431. window from being displayed.  I think I remember seeing that the 'info'
  432. window either exists or is created offscreen and a MoveWindow call is made
  433. to move it onscreen.  I think DiskDoubler just intercepts the MoveWindow
  434. to prevent the window from being moved onscreen.  Since the window always
  435. ends in "info", you will know which MoveWindow to prevent.  I think that
  436. is the major part of it, but I would find my notes to verify this.
  437.  
  438. I have hacked around the Finder for other things, but in the process I have
  439. seen it manipulating tables that contain info about onscreen icons.  I am
  440. sure somewhere in that structure is information about whether the icon is
  441. selected or not.  Another program worth hacking is an init that comes with
  442. Now Utilities (or a least came with NU 2.0), that takes input from the
  443. keyboard to make selections in the finder in a way similar to System 7.
  444. If there is enough interest in making Finder selections, I am sure I could
  445. hack it myself.
  446.  
  447. Hope this is of some help.
  448.  
  449. Dave Castell
  450.  
  451. +++++++++++++++++++++++++++
  452.  
  453. From: zobkiw@world.std.com (Joe Zobkiw)
  454. Date: 17 Mar 92 18:38:04 GMT
  455. Organization: The World Public Access UNIX, Brookline, MA
  456.  
  457. Dan -
  458.  
  459. Sharing code is great, I'm all for it! But...there are limits.
  460.  
  461. Do you think that Apple has to give away all of their secrets too?
  462. What about Microsoft? Adobe? Claris? Ok then...why should the independent
  463. freelance developer have to divulge their best secrets?
  464.  
  465. There are a LOT of things that I want to know how to do, and I've asked
  466. companies and other programmers for help, and they've said (sometimes)
  467. that they can't tell me. Simple.
  468.  
  469. <joe>
  470.  
  471.  
  472.  
  473.  
  474.  
  475.  
  476.  
  477.  
  478.  
  479.  
  480. - -- 
  481. <--------------------------------------------------->
  482.  joe zobkiw                     zobkiw@world.std.com
  483.  mac.synthesis.MIDI.development.C.asm.communications
  484. >---------------------------------------------------<
  485.  
  486. +++++++++++++++++++++++++++
  487.  
  488. From: leonardr@ccs.itd.umich.edu
  489. Date: 15 Mar 92 05:16:33 GMT
  490. Organization: Campus Computing Sites, University of Michigan-Ann Arbor
  491.  
  492. In article <1992Mar14.235641.5156@ux1.cso.uiuc.edu> dawg6844@uxa.cso.uiuc.edu (Dan Walkowski) writes:
  493. >Has _anyone_ managed to figure out how to determine the Finder selection?
  494. >
  495. >Millions of frustrated Mac programmers (myself included) would praise you
  496. >and probably even erect monuments if you would share the knowledge.
  497. >
  498.     To my knowledge only a small number of folks know how to do this,
  499. and all of them (almost all) are compression software vendors who consider
  500. this knowledge "proprietary" to their product line.
  501.  
  502.     That said, would people be willing to settle for an Extension and
  503. background only app that was AEVT aware that could tell you the the
  504. Finder Selection??   I've built such a combo, based on the technology
  505. used in our Magic Menu product, but am curious just how useful it would
  506. be to people.
  507.  
  508.     Would you be willing to pay for it?  Would developers be willing
  509. to license it for inclusion in their own packages?  I know it would be
  510. "REALLY NICE" for Aladdin to release this into the world for free, but I
  511. have trouble convincing the "higher ups" of this.
  512.  
  513.     If you are a developer of a product that would be interested in
  514. using this technology, please send me EMail about your usage.  Please
  515. include info about whether the proudct is commercial or not.  If you feel
  516. that we should release it free, express that too.  I will gather all the 
  517. messages together and make a "plea".  
  518.  
  519.     Since I do not want my mailbox overflowing, ONLY respond if you 
  520. are a developer who would like to use this technology.  
  521.  
  522. Thanks in advance for your messages and cooperation.
  523.  
  524. Leonard
  525. - -- 
  526. - -----------------------------------------------------------------------
  527. Leonard Rosenthol          Internet: leonardr@ccs.itd.umich.edu
  528. Director of Advanced Technology   AppleLink: MACgician
  529. Aladdin Systems, inc.          GEnie:     MACgician
  530.  
  531. +++++++++++++++++++++++++++
  532.  
  533. From: grobbins@Apple.COM (Grobbins)
  534. Date: 18 Mar 92 09:44:26 GMT
  535. Organization: Apple DTS
  536.  
  537. In article <1992Mar16.203031.25613@ux1.cso.uiuc.edu> dawg6844@uxa.cso.uiuc.edu (Dan Walkowski) writes:
  538. >zobkiw@world.std.com (Joe Zobkiw) writes:
  539. >>Why should they give it away when people are willing to pay for it?
  540. >Now what kind of attitude is that?
  541.  
  542. It's not quite as simple as either scenario would paint it.  Some
  543. questions really should be answered but haven't yet been included in
  544. System 7 documentation; for example, "How can I tell who sent me an
  545. Apple event?"  (Check the address attribute.)  Some aren't documented
  546. and aren't so kosher but are safe or at least simple enough, like "How
  547. can I tell if I'm hidden?" (Check if a visible window has an empty
  548. strucRgn.)
  549.  
  550. Getting the Finder selection goes way past that.  It's in the realm of
  551. challenges which will take a while to figure out how to do, will take
  552. longer -- maybe much longer -- to get working, and will probably break
  553. anyway.  Almost daily, developers say, "I know it will break, I'll take
  554. that risk."  In their eyes, such things are a competitive necessity.
  555.  
  556. IMHO, our primary obligation as Mac programmers isn't to help each
  557. other, but rather to make the Mac better for users.  I'm not willing to
  558. encourage others to write code that I expect will break because users
  559. are the ones who pay the price when programs stop working.
  560. Incompatible or fragile software doesn't make just one program look
  561. bad, but rather gives people a sour taste for the whole Mac
  562. environment.  If you're not concerned about the operating environment
  563. outside of your own software, you very well might be better off
  564. developing on a different computer, one with lower barriers for both
  565. developers and users.
  566.  
  567. It is no secret that better support for a Finder suite of Apple events
  568. is planned, and undoubtedly that would include the ability to find the
  569. current selection.  In my judgement, users would be better served if
  570. developers waited until then to develop software which depends on the
  571. selected icons.  If you disagree, by all means, sit down with MacsBug
  572. and have at it....
  573.  
  574. Good luck in your application development,
  575.  
  576. Grobbins            grobbins@apple.com
  577.  
  578. Usual disclaimers apply, to wit: the above reflects my opinions
  579. and not those of Apple Computer, Inc., a company which has graciously
  580. provided me with this account.
  581.  
  582. +++++++++++++++++++++++++++
  583.  
  584. From: kent@sunfs3.Camex.COM (Kent Borg)
  585. Organization: Camex Inc., Boston MA
  586. Date: Mon, 23 Mar 1992 13:58:34 EST
  587.  
  588. In article <BL7xoL.8ro@world.std.com> zobkiw@world.std.com (Joe Zobkiw) writes:
  589. >Dan -
  590. >
  591. >I know of someone who has...a few people actually...but it is a well
  592. >kept secret by the few who were able to figure it out :) Why should
  593. >they give it away when people are willing to pay for it?
  594. >
  595.  
  596. I have never done it, but I have an idea, and you all can have my idea
  597. for free.
  598.  
  599. Do a "Get Info" on the selection.  The problem is that you would have
  600. to patch Finder's environment to keep the user from having to deal
  601. with that window.  Once you see the window coming up, watch for the
  602. path string which is displayed there.
  603.  
  604. Problems: It would require an INIT and unless very carefully written,
  605. it would be pretty certain to break next time Finder gets any real
  606. changes--which is expected to be soon.  Also, if the user is editing
  607. the name of the selection you will knock the interface out of that
  608. mode.
  609.  
  610. Conclusion: Best wait until Apple gives us a real way to do it.
  611.  
  612. - --
  613. Kent Borg                            internet: kent@camex.com   AOL: kent borg
  614.                                             H:(617) 776-6899  W:(617) 426-3577
  615. "Eating healthy beef is not healthful, the steer will take offense at you
  616. chewing on his flanks."      -me
  617.  
  618. +++++++++++++++++++++++++++
  619.  
  620. From: jpugh@apple.com (Jon Pugh)
  621. Date: 27 Mar 92 22:46:19 GMT
  622. Organization: Apple Co.
  623.  
  624. In article <1992Mar14.235641.5156@ux1.cso.uiuc.edu>, dawg6844@uxa.cso.uiuc.edu (Dan Walkowski) writes:
  625. > Has _anyone_ managed to figure out how to determine the Finder selection?
  626. > Millions of frustrated Mac programmers (myself included) would praise you
  627. > and probably even erect monuments if you would share the knowledge.
  628.  
  629. Someone has, and they will have to rewrite it every time the Finder changes.
  630. Sounds like a lot of fun to me. ;)
  631.  
  632. The Finder will, in the nebulous future, support a request for its selection.
  633. Until then it's you and Macsbug.  Happy hacking.
  634.  
  635. Jon
  636.  
  637. +++++++++++++++++++++++++++
  638.  
  639. From: jpugh@apple.com (Jon Pugh)
  640. Date: 27 Mar 92 22:46:19 GMT
  641. Organization: Apple Co.
  642.  
  643. In article <1992Mar14.235641.5156@ux1.cso.uiuc.edu>, dawg6844@uxa.cso.uiuc.edu (Dan Walkowski) writes:
  644. > Has _anyone_ managed to figure out how to determine the Finder selection?
  645. > Millions of frustrated Mac programmers (myself included) would praise you
  646. > and probably even erect monuments if you would share the knowledge.
  647.  
  648. Someone has, and they will have to rewrite it every time the Finder changes.
  649. Sounds like a lot of fun to me. ;)
  650.  
  651. The Finder will, in the nebulous future, support a request for its selection.
  652. Until then it's you and Macsbug.  Happy hacking.
  653.  
  654. Jon
  655.  
  656. ---------------------------
  657.  
  658. From: tnreinha@cip.informatik.uni-erlangen.de (Tilman Reinhardt)
  659. Subject: ML for Mac
  660. Organization: Student Pool, CSD, University of Erlangen, Germany
  661. Date: Tue, 17 Mar 1992 17:51:44 GMT
  662.  
  663.  
  664. Does anybody know if there exists a version of ML for the Macintosh? I know that 
  665. there must be a version for MS-Dos. ML was developped at Edinburgh and is a language
  666. with known semantics. Very suitable for prototyping and software verification.
  667.  
  668.  
  669. +++++++++++++++++++++++++++
  670.  
  671. From: ksand@apple.com (Kent Sandvik)
  672. Date: 30 Mar 92 02:59:36 GMT
  673. Organization: MacDTS Mongols
  674.  
  675. In article <1992Mar17.175144.12573@informatik.uni-erlangen.de>,
  676. tnreinha@cip.informatik.uni-erlangen.de (Tilman Reinhardt) writes:
  677. > Does anybody know if there exists a version of ML for the Macintosh? I know
  678. that 
  679. > there must be a version for MS-Dos. ML was developped at Edinburgh and is a
  680. language
  681. > with known semantics. Very suitable for prototyping and software verification.
  682.  
  683. ..sorry for the delay, our nntp server is a couple of weeks behind
  684. (again). The people behind SML are working on a Mac port as well,
  685. check research.att.com now and then for the final port.
  686.  
  687. Cheers,
  688. Kent Sandvik/DTS
  689.  
  690. ---------------------------
  691.  
  692. Subject: Lost ETO
  693. From: Bruce.Hoult@bbs.actrix.gen.nz
  694. Date: Thu, 19 Mar 1992 12:53:35 GMT
  695. Organization: Actrix Information Exchange
  696.  
  697. My ETO #7 arrived today.  Great.  But I've never gotten #6 (in fact
  698. living waaay out here in New Zealand I was expecting #6 when I
  699. opened the box).
  700.  
  701. Anyone else the same?
  702.  
  703. What am I going to miss out on if #6 never turns up?  Just paper
  704. docs, I guess, but for what?
  705.  
  706. - -- Bruce
  707.  
  708. - -- 
  709. Bruce.Hoult@bbs.actrix.gen.nz   Twisted pair: +64 4 477 2116
  710. BIX: brucehoult                 Last Resort:  PO Box 4145 Wellington, NZ
  711. "Cray's producing a 200 MIPS personal computer with 64MB RAM and a 1 GB
  712. hard disk that fits in your pocket!"   "Great!  Is it PC compatable?"
  713.  
  714. +++++++++++++++++++++++++++
  715.  
  716. From: ldo@waikato.ac.nz (Lawrence D'Oliveiro, Waikato University)
  717. Date: 20 Mar 92 09:20:05 +1200
  718. Organization: University of Waikato, Hamilton, New Zealand
  719.  
  720. In article <1992Mar19.125335.24407@actrix.gen.nz>,
  721. Bruce.Hoult@bbs.actrix.gen.nz reports receiving ETO 7 without ETO 6.
  722.  
  723. Phone or fax APDA and tell them, Bruce. I've always had *excellent*
  724. response from them on my complaints. I'm sure they'll send you out
  725. an issue 6 if you ask them.
  726.  
  727. Lawrence
  728. eagerly awaiting ETO 7.
  729.  
  730. +++++++++++++++++++++++++++
  731.  
  732. From: amanda@visix.com (Amanda Walker)
  733. Date: 27 Mar 92 22:38:00 GMT
  734. Organization: Visix Software Inc., Reston, VA
  735.  
  736. ldo@waikato.ac.nz (Lawrence D'Oliveiro, Waikato University) writes:
  737. > Phone or fax APDA and tell them, Bruce. I've always had *excellent*
  738. > response from them on my complaints. I'm sure they'll send you out
  739. > an issue 6 if you ask them.
  740.  
  741. I had to bug them about our ETO 6 (and I'm even in the USA :)).  Email &
  742. voice messages didn't have much effect, but a (slightly acerbic) fax got
  743. us our CD, apparently by return mail.
  744.  
  745.  
  746. Amanda Walker                        amanda@visix.com
  747. Project Leader, Multiplatform Software Development
  748. Visix Software Inc.                     +1 800 832 8668
  749. - -- 
  750. God is real unless declared integer.    -- Allen W. Sherzer (aws@vax3.UUCP)
  751.  
  752. +++++++++++++++++++++++++++
  753.  
  754. From: amanda@visix.com (Amanda Walker)
  755. Date: 27 Mar 92 22:38:00 GMT
  756. Organization: Visix Software Inc., Reston, VA
  757.  
  758. ldo@waikato.ac.nz (Lawrence D'Oliveiro, Waikato University) writes:
  759. > Phone or fax APDA and tell them, Bruce. I've always had *excellent*
  760. > response from them on my complaints. I'm sure they'll send you out
  761. > an issue 6 if you ask them.
  762.  
  763. I had to bug them about our ETO 6 (and I'm even in the USA :)).  Email &
  764. voice messages didn't have much effect, but a (slightly acerbic) fax got
  765. us our CD, apparently by return mail.
  766.  
  767.  
  768. Amanda Walker                        amanda@visix.com
  769. Project Leader, Multiplatform Software Development
  770. Visix Software Inc.                     +1 800 832 8668
  771. - -- 
  772. God is real unless declared integer.    -- Allen W. Sherzer (aws@vax3.UUCP)
  773.  
  774. ---------------------------
  775.  
  776. From: bpb9204@tamsun.tamu.edu (Brent)
  777. Subject: GnuPlot on the mac --  UPDATE
  778. Date: 20 Mar 92 19:53:47 GMT
  779. Organization: Texas A&M Univ., Inc.
  780.  
  781.  
  782. Hi all gnuplot fans!
  783.  
  784. This is just an update on my (slowed) progress on GnuPlot.
  785.  
  786. OK, at last report a few months ago, I had made the gnuplot 2.02 (version 2,
  787. patchlevel 2) mac distribution available via anon ftp from tamsun.tamu.edu
  788. in the pub/Macintosh directory.  At that time, gnuplot had a nasty bug
  789. of not grokking the input command -- the tail end of it would get cut 
  790. off.  There were also some minor (not fatal) bugs present.
  791.  
  792. This morning I was able to fix the command bug and now have version 2.02
  793. completely working.  I will make it available via anon ftp at the above site
  794. sometime this weekend.
  795.  
  796. My next Direction:
  797.  
  798. Now that I have ported 2.02 and learned how the code is structured, I will
  799. begin/continue work on version 3.0, which includes 3-D graphs.  Version 3.0
  800. is very nice, and is just as quick as the previous versions.  It is also
  801. larger.
  802.  
  803. What I am doing now is working on breaking away from Think C's console 
  804. routines (my workaround for graphics was a true hack) by writing my own
  805. command window, where commands can be entered and output can be printed.
  806. All drawing will be done in a separate window.
  807.  
  808. Anyway, feel free to send comments, suggestions, gripes, or notices of other
  809. related work to me.  (BTW, I still have all the comments I gathered from
  810. my 2.02 port.)
  811.  
  812. Also, when I do distribute the code, you must have
  813. Think C 5.0 to recompile it (an executable is also provided).
  814.  
  815. - -Brent
  816. - -- 
  817. - ------------------------------------------------------------------------------
  818. Brent P. Burton, N5VMG                                    Computer Sci/Physics
  819. bpb9204@tamsun.tamu.edu                                   Texas A&M University
  820. - ------------------------------------------------------------------------------
  821.  
  822. +++++++++++++++++++++++++++
  823.  
  824. From: bpb9204@tamsun.tamu.edu (Brent Burton)
  825. Date: 21 Mar 92 06:15:18 GMT
  826. Organization: Texas A&M Univ., Inc.
  827.  
  828. In my message earlier today, I wrote:
  829. |
  830. |This morning I was able to fix the command bug and now have version 2.02
  831. |completely working.
  832. |
  833. |I will
  834. |begin/continue work on version 3.0, which includes 3-D graphs.  Version 3.0
  835. |is very nice, and is just as quick as the previous versions.  It is also
  836. |larger.
  837.  
  838. This afternoon I ftp'd the version 3 patchlevel 1 distribution.  I spent
  839. most of this evening sorting it out and comparing the code to version 2.02.
  840. Luckily, all of the base code is identical and there was not much in the
  841. way of me changing it.  Unfortunately, something in the code DID change
  842. and my macintosh driver no longer works correctly.  I cannot find this
  843. problem, but I'll keep looking for it.  The driver interfaces were not
  844. modified for this release.  BTW, the compiled code is approximately 90k
  845. larger (260k) than version 2 (170k).
  846.  
  847. Anyway, I just wanted to zap a quick note to let people know that version
  848. 3.0 is in the works, and as soon as I get it working AND get permission
  849. to distribute the code, I'll let ya'll know.
  850.  
  851. As always, send comments to me.
  852.  
  853. - -Brent
  854.  
  855. - -- 
  856. - ------------------------------------------------------------------------------
  857. Brent P. Burton, N5VMG                                    Computer Sci/Physics
  858. bpb9204@tamsun.tamu.edu                                   Texas A&M University
  859. - ------------------------------------------------------------------------------
  860.  
  861. +++++++++++++++++++++++++++
  862.  
  863. From: bear@harlqn.co.uk (Andy Edwards)
  864. Date: 27 Mar 92 18:20:34 GMT
  865. Organization: Harlequin Limited, Cambridge, England
  866.  
  867. Don't be a ThinkC klutz - there are MPW users on this planet.
  868.  
  869. +--: Andy Edwards :----------*=================*------------------------------+
  870. | Macintosh fire fighter,    | Harlequin Ltd.  |      uucp: bear@harlqn.uucp  |
  871. | deity, PostScript language | Barrington Hall |     janet: bear@uk.co.harlqn |
  872. | level 2 porter and PAP     | Barrington      | applelink: harlequin         |
  873. | server clone originator.   | Cambridge       |     voice: 0223 872522       |
  874. |                            | CB2 5RG         |            +44-223-872-522   |
  875. |                            | England         |       fax: 0223 872519       |
  876. +----------------------------*=================*------------------------------+
  877.  
  878. +++++++++++++++++++++++++++
  879.  
  880. From: bpb9204@tamsun.tamu.edu (Brent)
  881. Date: 28 Mar 92 22:40:38 GMT
  882. Organization: Texas A&M Univ., Inc.
  883.  
  884. bear@harlqn.co.uk (Andy Edwards) writes:
  885. |Don't be a ThinkC klutz - there are MPW users on this planet.
  886.  
  887. Well, I didn't think I was being a klutz about it...
  888.  
  889. On one of my posts I mentioned that I was writing my own "console" window
  890. for the line-oriented I/O.  I have a basic shell of that working now and
  891. this means that the (3.0) port of gnuplot will NOT depend on Think C's
  892. console routines.
  893.  
  894. How's that for klutzmanship? ;-)
  895.  
  896. - -Brent
  897. - -- 
  898. - ------------------------------------------------------------------------------
  899. Brent P. Burton, N5VMG                                    Computer Sci/Physics
  900. bpb9204@tamsun.tamu.edu                                   Texas A&M University
  901. - ------------------------------------------------------------------------------
  902.  
  903. +++++++++++++++++++++++++++
  904.  
  905. From: bear@harlqn.co.uk (Andy Edwards)
  906. Date: 27 Mar 92 18:20:34 GMT
  907. Organization: Harlequin Limited, Cambridge, England
  908.  
  909. Don't be a ThinkC klutz - there are MPW users on this planet.
  910.  
  911. +--: Andy Edwards :----------*=================*------------------------------+
  912. | Macintosh fire fighter,    | Harlequin Ltd.  |      uucp: bear@harlqn.uucp  |
  913. | deity, PostScript language | Barrington Hall |     janet: bear@uk.co.harlqn |
  914. | level 2 porter and PAP     | Barrington      | applelink: harlequin         |
  915. | server clone originator.   | Cambridge       |     voice: 0223 872522       |
  916. |                            | CB2 5RG         |            +44-223-872-522   |
  917. |                            | England         |       fax: 0223 872519       |
  918. +----------------------------*=================*------------------------------+
  919.  
  920. +++++++++++++++++++++++++++
  921.  
  922. From: bpb9204@tamsun.tamu.edu (Brent)
  923. Date: 28 Mar 92 22:40:38 GMT
  924. Organization: Texas A&M Univ., Inc.
  925.  
  926. bear@harlqn.co.uk (Andy Edwards) writes:
  927. |Don't be a ThinkC klutz - there are MPW users on this planet.
  928.  
  929. Well, I didn't think I was being a klutz about it...
  930.  
  931. On one of my posts I mentioned that I was writing my own "console" window
  932. for the line-oriented I/O.  I have a basic shell of that working now and
  933. this means that the (3.0) port of gnuplot will NOT depend on Think C's
  934. console routines.
  935.  
  936. How's that for klutzmanship? ;-)
  937.  
  938. - -Brent
  939. - -- 
  940. - ------------------------------------------------------------------------------
  941. Brent P. Burton, N5VMG                                    Computer Sci/Physics
  942. bpb9204@tamsun.tamu.edu                                   Texas A&M University
  943. - ------------------------------------------------------------------------------
  944.  
  945. ---------------------------
  946.  
  947. From: rsherman@mthvax.cs.miami.edu (Roby Sherman)
  948. Subject: WDEFs in System File:Do They Do Anything???
  949. Date: 22 Mar 92 17:54:34 GMT
  950. Organization: The Tao of Programming
  951.  
  952. In running system 6.0.8, I noticed 2 WDEF's in the system file. ID's 0 and
  953. 1. My question is, what do they do?
  954.  
  955. If I remove #0 or replace it with a modified WDEF resource, the computer
  956. acts as if nothing has changed; Everything will still function as before.
  957.  
  958. If they are not used by the SYSTEM, what uses them?
  959.  
  960.  
  961.                thanks,
  962.  
  963.  
  964.                   Roby
  965. - -- 
  966. rsherman@mthvax.cs.miami.edu                    Roby Sherman
  967.  
  968. +++++++++++++++++++++++++++
  969.  
  970. From: neeri@iis.ethz.ch (Matthias Ulrich Neeracher)
  971. Organization: Integrated Systems Laboratory, ETH, Zurich
  972. Date: Mon, 23 Mar 1992 14:15:20 GMT
  973.  
  974. In article <kspieqINNh7t@mthvax.cs.miami.edu> rsherman@mthvax.cs.miami.edu (Roby Sherman) writes:
  975. >In running system 6.0.8, I noticed 2 WDEF's in the system file. ID's 0 and
  976. >1. My question is, what do they do?
  977.  
  978. Most macs have some version of the WDEF's in ROM. The system file versions are
  979. for macs that don't have up-to-date versions (Is there any Mac with
  980. movable-modal windows in ROM ?).
  981.  
  982. Matthias
  983.  
  984. - -----
  985. Matthias Neeracher                                   neeri@iis.ethz.ch
  986.    "No, what he didn't like about heroes was that they were usually
  987.     suicidally gloomy when sober and homicidally insane when drunk."
  988.                           -- Terry Pratchett, _The Colour of Magic_
  989.  
  990. +++++++++++++++++++++++++++
  991.  
  992. From: d88-jwa@black.nada.kth.se (Jon W{tte)
  993. Date: 23 Mar 92 18:02:07 GMT
  994. Organization: Royal Institute of Technology, Stockholm, Sweden
  995.  
  996. .ch> neeri@iis.ethz.ch (Matthias Ulrich Neeracher) writes:
  997.  
  998.    Most macs have some version of the WDEF's in ROM. The system file versions
  999.    are for macs that don't have up-to-date versions (Is there any Mac with
  1000.    movable-modal windows in ROM ?).
  1001.  
  1002. Provbably the Quadras and PowerBooks...
  1003.  
  1004. - -- 
  1005. h+@nada.kth.se; Jon W{tte, the Diplomat - NOT!
  1006.  
  1007. +++++++++++++++++++++++++++
  1008.  
  1009. From: Jeremiah.Blatz@dartmouth.edu (Jeremiah Blatz)
  1010. Date: 26 Mar 92 05:55:30 GMT
  1011. Organization: Dartmouth College, Hanover, NH
  1012.  
  1013.  
  1014.  Also note that Sys. 7 nas that nifty little (big?) color w-def in the
  1015. System, and probably a nifty Rov# resource to go with it.
  1016.  
  1017. Jeremiah (speaking of nifty, I don't have a nifty psedonym)
  1018.  
  1019. +++++++++++++++++++++++++++
  1020.  
  1021. From: Jeremiah.Blatz@dartmouth.edu (Jeremiah Blatz)
  1022. Date: 26 Mar 92 05:58:04 GMT
  1023. Organization: Dartmouth College, Hanover, NH
  1024.  
  1025. In article <D88-JWA.92Mar23190207@black.nada.kth.se>
  1026. d88-jwa@black.nada.kth.se (Jon W{tte) writes:
  1027.  
  1028. > Provbably the Quadras and PowerBooks...
  1029.  
  1030. and the LC2...
  1031.  
  1032. Jeremiah
  1033.  
  1034. +++++++++++++++++++++++++++
  1035.  
  1036. From: REEKES@applelink.apple.com (Jim Reekes)
  1037. Date: 26 Mar 92 23:36:09 GMT
  1038. Organization: Apple Computer, Inc.
  1039.  
  1040. In article <kspieqINNh7t@mthvax.cs.miami.edu>, rsherman@mthvax.cs.miami.edu (Roby Sherman) writes:
  1041. > In running system 6.0.8, I noticed 2 WDEF's in the system file. ID's 0 and
  1042. > 1. My question is, what do they do?
  1043. > If I remove #0 or replace it with a modified WDEF resource, the computer
  1044. > acts as if nothing has changed; Everything will still function as before.
  1045. > If they are not used by the SYSTEM, what uses them?
  1046.  
  1047. ID=0 is the standard window definition.  ID=1 is the rouned corner window.
  1048. The movable modal window is supported by the standard WDEF in System 7.
  1049. As far as I can tell, the WDEF is in every ROM and is replaced by every
  1050. System release.  So the one you should be running at all times is the one
  1051. in the System file.  If you were to replace ID=0, then all of your windows
  1052. should be drawn by your newly added WDEF.
  1053.  
  1054. - -----------------------------------------------------------------------
  1055. Jim Reekes, E.O.             |     Macintosh Toolbox Engineering
  1056.                              |          Sound Manager Expert
  1057. Apple Computer, Inc.         | "All opinions expressed are mine, and do
  1058. 20525 Mariani Ave. MS: 81-KS |   not necessarily represent those of my
  1059. Cupertino, CA 95014          |       employer, Apple Computer Inc."
  1060.  
  1061. +++++++++++++++++++++++++++
  1062.  
  1063. From: Keith_Rollin@taligent.com (Keith Rollin)
  1064. Date: 27 Mar 92 03:41:56 GMT
  1065. Organization: Taligent
  1066.  
  1067. In article <22035@goofy.Apple.COM>, REEKES@applelink.apple.com (Jim Reekes) writes:
  1068. > In article <kspieqINNh7t@mthvax.cs.miami.edu>, rsherman@mthvax.cs.miami.edu (Roby Sherman) writes:
  1069. > > 
  1070. > > In running system 6.0.8, I noticed 2 WDEF's in the system file. ID's 0 and
  1071. > > 1. My question is, what do they do?
  1072. > > 
  1073. > > If I remove #0 or replace it with a modified WDEF resource, the computer
  1074. > > acts as if nothing has changed; Everything will still function as before.
  1075. > > 
  1076. > > If they are not used by the SYSTEM, what uses them?
  1077. > ID=0 is the standard window definition.  ID=1 is the rouned corner window.
  1078. > The movable modal window is supported by the standard WDEF in System 7.
  1079. > As far as I can tell, the WDEF is in every ROM and is replaced by every
  1080. > System release.  So the one you should be running at all times is the one
  1081. > in the System file.  If you were to replace ID=0, then all of your windows
  1082. > should be drawn by your newly added WDEF.
  1083.  
  1084. Just to confirm what Jim is saying, I've replaced WDEF 0 in my IIci at
  1085. home and my IIfx at work, and the modified WDEF took effect each time.
  1086.  
  1087. - --
  1088. Keith Rollin
  1089. Phantom Programmer
  1090. Taligent, Inc.
  1091.  
  1092. +++++++++++++++++++++++++++
  1093.  
  1094. From: Keith_Rollin@taligent.com (Keith Rollin)
  1095. Date: 27 Mar 92 03:41:56 GMT
  1096. Organization: Taligent
  1097.  
  1098. In article <22035@goofy.Apple.COM>, REEKES@applelink.apple.com (Jim Reekes) writes:
  1099. > In article <kspieqINNh7t@mthvax.cs.miami.edu>, rsherman@mthvax.cs.miami.edu (Roby Sherman) writes:
  1100. > > 
  1101. > > In running system 6.0.8, I noticed 2 WDEF's in the system file. ID's 0 and
  1102. > > 1. My question is, what do they do?
  1103. > > 
  1104. > > If I remove #0 or replace it with a modified WDEF resource, the computer
  1105. > > acts as if nothing has changed; Everything will still function as before.
  1106. > > 
  1107. > > If they are not used by the SYSTEM, what uses them?
  1108. > ID=0 is the standard window definition.  ID=1 is the rouned corner window.
  1109. > The movable modal window is supported by the standard WDEF in System 7.
  1110. > As far as I can tell, the WDEF is in every ROM and is replaced by every
  1111. > System release.  So the one you should be running at all times is the one
  1112. > in the System file.  If you were to replace ID=0, then all of your windows
  1113. > should be drawn by your newly added WDEF.
  1114.  
  1115. Just to confirm what Jim is saying, I've replaced WDEF 0 in my IIci at
  1116. home and my IIfx at work, and the modified WDEF took effect each time.
  1117.  
  1118. - --
  1119. Keith Rollin
  1120. Phantom Programmer
  1121. Taligent, Inc.
  1122.  
  1123. ---------------------------
  1124.  
  1125. End of C.S.M.P. Digest
  1126. **********************
  1127.